package org.blogwu.learn.jvmlearn.class1;

public class MyTest12 {

    public static void main(String[] args) throws ClassNotFoundException {
        ClassLoader classes = ClassLoader.getSystemClassLoader();
        Class<?> clazz = classes.loadClass("org.blogwu.learn.jvmlearn.class1.CL");
        System.out.println("----------------------");
        clazz = Class.forName("org.blogwu.learn.jvmlearn.class1.CL");
    }

}

class CL {

    static {
        System.out.println("CL static block");
    }

}